package com.glela.platform.mapper;

import com.glela.platform.model.UserSet;

public interface UserSetMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserSet record);

    int insertSelective(UserSet record);

    UserSet selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserSet record);

    int updateByPrimaryKey(UserSet record);
    /**
     * 按条件查询用户设置
     * @param userId
     * @return
     */
    public UserSet selectUserSet(Long userId);
    /**
     * 按条件修改用户设置
     * @param userId
     * @return
     */
    public int updateUserSet(UserSet userset);
}